INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})

SET(TARGET_H
    FreeImageCodec.h
)

SET(TARGET_SRC
	FreeImageCodec.cpp
)

SETUP_GROUP()

SET(TARGET_ADDED_LIBRARIES
    OCOpenGL
    OCMain
    OCGIS
)

SET(TARGET_EXTERNAL_LIBRARIES 
    FreeImage
)

#ADD_DEFINITIONS(-DFREEIMAGE_BIGENDIAN)

SETUP_PLUGIN(FreeImageCodec)

SETUP_PLUGIN_DEP(FreeImageCodec OCMain)
